package cn.lyvust.first.manage.entity;

import java.time.LocalDateTime;
import java.util.Date;
import java.io.Serializable;


import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author ggzheng
 * @since 2021-01-19
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("evaluation_project")
public class EvaluationProject implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;

    /**
     * 评价项目名称
     */
    @TableField("project_name")
    private String projectName;

    @TableField("create_at")
    private Date createAt;

    private String operator;

    private String extra;

    /**
     * 创建者
     */
    @TableField("create_by")
    private String createBy;

    /**
     * 更新者
     */
    @TableField("update_by")
    private String updateBy;

    /**
     * 创建日期
     */
//    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    /**
     * 更新时间
     */
    @TableField(value = "update_time", fill= FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;


}
